package com.unknow.first.mfa.config;

import com.unknow.first.mfa.aop.MfaAuthAspect;
import com.unknow.first.mfa.service.GoogleAuthenticatorService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.unknow.first.mfa")
public class MfaBeanConfig {
    @Bean
    public GoogleAuthenticatorService GoogleAuthenticatorService() {
        return new GoogleAuthenticatorService();
    }
}
